﻿@model SerieSpotter.Models.Season

@{
    ViewBag.Title = "Edit";
}

<h2>@Resources.Resource.Edit</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Season</legend>

        @Html.HiddenFor(model => model.Id)
        @Html.HiddenFor(model => model.ShowId)

        <div class="editor-label">
            @Html.LabelFor(model => model.Number)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Number)
            @Html.ValidationMessageFor(model => model.Number)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PosterURL)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PosterURL)
            @Html.ValidationMessageFor(model => model.PosterURL)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EpisodesNumber)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EpisodesNumber)
            @Html.ValidationMessageFor(model => model.EpisodesNumber)
        </div>

        <p>
            <input type="submit" value="@Resources.Resource.Save" />
        </p>
    </fieldset>
}



@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
